//
//  MenuSectionView.m
//  NOAHWM
//
//  Created by Ryan on 13-6-20.
//  Copyright (c) 2013年 Ryan. All rights reserved.
//

#import "MenuSectionView.h"

const CGFloat kMenuSectionViewHeight = 35.f;

@implementation MenuSectionView

@synthesize menuImageView,menuLabel;
@synthesize delegate;
@synthesize bgImageView;

- (IBAction)sectionClicked:(id)sender
{
    [self.delegate didSelectedWithSection:self];
}

- (void)setSectionHighlighted:(BOOL)highlight
{
    self.menuLabel.highlighted = highlight;
    self.menuImageView.highlighted = highlight;
    self.bgImageView.highlighted = highlight;
}

- (void)dealloc
{
    [bgImageView release];
    [menuLabel release];
    [menuImageView release];
    [super dealloc];
}
@end
